home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
wildcat
/
op_118.zip
/
OPCFG.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1996-03-12
|
14KB
|
647 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 13629 bytes 01/28/123 08:37:12pm
'! Code Segment Size :4987 bytes
'! Data Segment Size :4514 bytes
'! String Segment Size:8642 bytes
'! Compiled with WCC version ? 019C017B
Declare Function Func467(l65534 As Long, l65532 As Long) As Integer
Declare Function Func939 As Integer
Declare Sub Sub1781
Declare Sub Sub2452
Declare Function Func3185 As Integer
Dim s4463 As String
Dim i4467 As Integer
Dim l4469 As Long
Dim i4473 As Integer
Dim o4475 As Boolean
Dim o4476 As Boolean
Dim s4477 As String
Dim s4481 As String
Dim s4485 As String
Dim s4489 As String
Dim s4493 As String
Dim s4497 As String
Dim s4501 As String
Dim s4505 As String
Dim b4509 As Byte
Dim s4510 As String
Dim l65532_ As Long '! Temporary
s4463 = ProgPath + "opPage.cfg"
s4510 = UCase(s4510)
i4467 = 0
If Exists(s4463) Then
Open s4463 For Input As 1
Input #1, l4469
Input #1, i4473
Input #1, o4475
Input #1, o4476
Input #1, s4477
Input #1, s4481
Input #1, s4485
Input #1, s4489
Input #1, s4493
Input #1, s4497
Input #1, s4501
Input #1, s4505
Input #1, b4509
Input #1, s4510
Close 1
Else
217 l4469 = 0
i4473 = 0
o4475 = 0
o4476 = -1
s4477 = "Paging the SysOp, eh? Better be good!"
s4481 = "@0E@"
s4485 = "Have you played ALL the doors?"
s4489 = "@0D@"
s4493 = "Counting to SIX....press SPACE BAR to abort page."
s4497 = "@0C@"
s4501 = "Check out my new uploads!"
s4505 = "@0A@"
b4509 = 0
Cls
Beep
Print
Print " @0C@ATTENTION SYSOP!@0F@"
Print
Print " No configuration file was found, inserting default answers."
Print " Please remember to @CF@SAVE@0F@ your configuration!"
Print
WaitEnter
End If
363
If Func467(l4469, (81762)) Then
i4467 = -1
Else
410 i4467 = 0
End If
416 Func3185
'! Called 1 time
Function Func467(l65534 As Long, l65532 As Long) As Integer
Dim l65467 As Long
Dim i65471 As Integer
Dim l65473 As Long
Dim i65477 As Integer
Dim s65483 As String*7
Dim s65490 As String*30
Dim l65520 As Long
Dim l65524 As Long
Dim i65528 As Integer
s65490 = UCase(MakeWild.BBSName)
s65490 = Trim(s65490)
l65524 = 0
544 For i65528 = 1 To Len(s65490) Step 1
l65524 = l65524 + Asc(Mid(s65490, i65528, 1))
Next
648 s65483 = UCase(MakeWild.RegString)
s65483 = Trim(s65483)
l65520 = 0
717 For i65528 = 1 To Len(s65483) Step 1
l65520 = l65520 + Asc(Mid(s65483, i65528, 1))
Next
821 l65520 = l65520 + l65524
l65520 = l65520 * 19
l65520 = l65520 * l65532
l65520 = l65520 + l65532
If l65520 = l65534 Then
Func467 = - 1
Else
925 Func467 = 0
End If
931
End Function
'! Called 1 time
Function Func939 As Integer
Dim s65532 As String*1
Dim s65533 As String*1
Do
Do
Do
Do
Do
Do
Do
Do
Do
948 Cls
Print "@0F@ @0C@opPAGE Configuration Utility v1.02 @0F@Page 2"
Print "@0F@ @08@─────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0C@1@0B@] @0B@Reason Screen Message #1 (In Choosen Color @0C@A@0B@)"
Print
Print "@0B@ -@0F@> "; s4481; s4477
Print
Print "@0F@ @0C@2@0B@] @0B@Reason Screen Message #2 (In Choosen Color @0C@B@0B@)"
Print
Print "@0B@ -@0F@> "; s4489; s4485
Print "@0F@ @08@─────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0C@3@0B@] @0B@Waiting Screen Message #1 (In Choosen Color @0C@C@0B@)"
Print
Print "@0B@ -@0F@> "; s4497; s4493
Print
Print "@0F@ @0C@4@0B@] @0B@Waiting Screen Message #2 (In Choosen Color @0C@D@0B@)"
Print
Print "@0B@ -@0F@> "; s4505; s4501
Print "@0F@ @08@─────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0B@[@0F@H @0B@= @0F@HELP@0B@, @0F@1@0B@-@0F@4 @0B@= @0F@MESSAGES@0B@, @0F@A@0B@-@0F@D @0B@= @0F@COLORS@0B@, @0F@ENTER @0B@= @0F@PREV PAGE@0B@]"
Print "@0B@ @08@─────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0C@SELECT:@0F@ ";
Input s65533
s65532 = s65533
If (s65532 = "1") = 0 Then GoTo 1223
Print
Print " @0B@ Message #1 : @0F@"
Print " @0B@>@0F@";
Input s4477
Loop
GoTo 1773
1223 If s65532 = "A" Then GoTo 1261
If (s65532 = "a") = 0 Then GoTo 1302
1261 Print
s4481 = InputMask(" @0B@Enter color code to use for Message #1 : @0F@", "XXXX", "", 1213417543)
Loop
GoTo 1773
1302 If (s65532 = "2") = 0 Then GoTo 1359
Print
Print " @0B@ Message #2 : @0F@"
Print " @0B@>@0F@";
Input s4485
Loop
GoTo 1773
1359 If s65532 = "B" Then GoTo 1397
If (s65532 = "b") = 0 Then GoTo 1438
1397 Print
s4489 = InputMask(" @0B@Enter color code to use for Message #2 : @0F@", "XXXX", "", 1213417543)
Loop
GoTo 1773
1438 If (s65532 = "3") = 0 Then GoTo 1495
Print
Print " @0B@ Message #1B : @0F@"
Print " @0B@>@0F@";
Input s4493
Loop
GoTo 1773
1495 If s65532 = "C" Then GoTo 1533
If (s65532 = "c") = 0 Then GoTo 1574
1533 Print
s4497 = InputMask(" @0B@Enter color code to use for Message #1B :@0F@ ", "XXXX", "", 1213417543)
Loop
GoTo 1773
1574 If (s65532 = "4") = 0 Then GoTo 1631
Print
Print " @0B@ Message #2B : @0F@"
Print " @0B@>@0F@";
Input s4501
Loop
GoTo 1773
1631 If s65532 = "D" Then GoTo 1669
If (s65532 = "d") = 0 Then GoTo 1710
1669 Print
s4505 = InputMask(" @0B@Enter color code to use for Message #2B : @0F@", "XXXX", "", 1213417543)
Loop
GoTo 1773
1710 If s65532 = "H" Then GoTo 1748
If (s65532 = "h") = 0 Then GoTo 1766
1748 Sub1781
Loop
GoTo 1773
1766 Func3185
1773
End Function
'! Called 1 time
Sub Sub1781
Dim s65534 As String*1
Dim s65535 As String*1
s65535 = InputMask(" @0B@Enter number of item you need help with: [@0F@1@0B@-@0F@4@0B@, @0F@A@0B@-@0F@D@0B@, @0F@Q@0B@]: ", "XX", "", 1213417543)
s65534 = s65535
If s65534 = "1" Then
Print
Print " @4F@#1 - Personalized Message #1@0F@"
Print
Print " Enter something you would like to notify your users about while they are"
Print " trying to think of a reason to page you."
Print " (Example:) Have you played the totally kewl new door I put up today?"
WaitEnter
Else
1899 If s65534 = "A" Then GoTo 1937
If s65534 = "a" Then
1937 Print
Print " @4F@#A - Color of Message #1@0F@"
Print
Print " Only @-code colors here! Any valid Wildcat colors will work, please"
Print " remember to enter the @ before and after, otherwise it will not work."
Print " Refer to your Wildcat Manual, page 483."
WaitEnter
Else
1986 If s65534 = "2" Then
Print
Print " @4F@#2 - Personalized Message #2@0F@"
Print
Print " Enter something you would like to notify your users about while they are"
Print " trying to think of a reason to page you."
Print " (Example:) Hope you have a -really- good reason for paging me!"
WaitEnter
Else
2054 If s65534 = "B" Then GoTo 2092
If s65534 = "b" Then
2092 Print
Print " @4F@#B - Color of Message #2@0F@"
Print
Print " Only @-code colors here! Any valid Wildcat colors will work, please"
Print " remember to enter the @ before and after, otherwise it will not work."
Print " Refer to your Wildcat Manual, page 483."
WaitEnter
Else
2141 If s65534 = "3" Then
Print
Print " @4F@#3 - Personalized Message #1B@0F@"
Print
Print " Enter something you would like to say to your users while they are"
Print " waiting for you to answer your page."
Print " (Example:) Counting to SIX......press SPACE BAR to abort page."
WaitEnter
Else
2209 If s65534 = "C" Then GoTo 2247
If s65534 = "c" Then
2247 Print
Print " @4F@#C - Color of Message #1B@0F@"
Print
Print " Only @-code colors here! Any valid Wildcat colors will work, please"
Print " remember to enter the @ before and after, otherwise it will not work."
Print " Refer to your Wildcat Manual, page 483."
WaitEnter
Else
2296 If s65534 = "4" Then
Print " @4F@#4 - Personalized Message #2B@0F@"
Print
Print " Enter something you would like to say to your users while they are"
Print " waiting for you to answer your page."
Print " (Example:) Hope I'm not setting up a new door right now!"
WaitEnter
Else
2362 If s65534 = "D" Then GoTo 2400
If s65534 = "d" Then
2400 Print
Print " @4F@#D - Color of Message #2B@0F@"
Print
Print " Only @-code colors here! Any valid Wildcat colors will work, please"
Print " remember to enter the @ before and after, otherwise it will not work."
Print " Refer to your Wildcat Manual, page 483."
WaitEnter
GoTo 2449
End If
End If
End If
End If
End If
End If
End If
End If
2449
End Sub
'! Called 1 time
Sub Sub2452
Dim s65534 As String*1
Dim s65535 As String*1
s65535 = InputMask(" @0B@Enter number of item you need help with: [@0F@1@0B@-@0F@6@0B@, @0F@S N A@0B@]: @0F@", "X", "", 1213417543)
s65534 = s65535
If s65534 = "1" Then
Print
Print " @4F@#1 - Registration Number@0F@"
Print
Print " Enter your REGISTRATION NUMBER exactly, or @0B@0@0F@ (zero) for Unregistered."
WaitEnter
Else
2552 If s65534 = "2" Then
Print
Print " @4F@#2 - Conference Number@0F@"
Print
Print " Enter the Conference Number you would like to have -REASONS- sent to you."
Print " -REASONS- will be be a short message from a user before paging you, if you"
Print " did not answer your page, or if the page was off - this message will be sent."
WaitEnter
Else
2620 If s65534 = "3" Then
Print
Print " @4F@#3 - Notify Users?@0F@"
Print
Print " If you would like to let users know whether or not your page is on, simply"
Print " enter a @0B@Y@0F@ (Yes) here, otherwise enter an @0B@N@0F@ (No)."
WaitEnter
Else
2679 If s65534 = "4" Then
Print
Print " @4F@#4 - Send Levels in LOCKOUT.SEC to another Program?@0F@"
Print
Print " If you would like to send users (with security levels that match those"
Print " listed in LOCKOUT.SEC) to a seperate program after attempting to page -"
Print " then enter a Y (Yes), otherwise enter an N (No). Remember, these users"
Print " do -not- have access to page you. A use for this would be to popup the"
Print " screen NOPAGE.BBS, notifying the user of what is about to happen, then"
Print " (perhaps) send them to your verification door, or online registration."
Print " Remember, only a simple Y or N is entered here!"
WaitEnter
Else
2783 If s65534 = "5" Then
Print
Print " @4F@#13- Type of Program to Run@0F@"
Print
Print " This line will be ignored if Line 4 was answered N (No)!!"
Print " Only three acceptable answers here: @0B@0@0F@ (zero), @0B@1@0F@ (one), or @0B@2@0F@ (two)."
Print " Assuming you have a @0B@Y@0F@ on Line 4... "
Print " @0B@0@0F@ = Run Wildcats default -Comment to SysOp-"
Print " @0B@1@0F@ = Run an EXE, COM, or BAT file"
Print " @0B@2@0F@ = Run a WCX file."
Print
Print " Be sure you select the appropriate number, if you choose to use this option."
WaitEnter
Else
2889 If s65534 = "6" Then
Print
Print " @4F@#14- Program to Run's - Full Path & Name@0F@"
Print
Print " Enter the complete drive letter, path, and filename of the program you will"
Print " run when a user (defined by their security level in LOCKOUT.SEC) attempts to"
Print " page you."
Print " (Example:) C:\WILDCAT\BATCH\VERIFY.BAT (<-This would require a 1 on Line 5)"
WaitEnter
Else
2966 If s65534 = "S" Then GoTo 3004
If s65534 = "s" Then
3004 Print
Print " @4F@S - Save & Exit!@0F@"
Print
Print " Save all changes and exit."
WaitEnter
Else
3035 If s65534 = "N" Then GoTo 3073
If s65534 = "n" Then
3073 Print
Print " @4F@N - Next Page@0F@"
Print
Print " Don't forget Page 2 of your config! These are optional messages you can send"
Print " to users while in opPAGE."
WaitEnter
Else
3113 If s65534 = "A" Then GoTo 3151
If s65534 = "a" Then
3151 Print
Print " @4F@A - Abort & Exit@0F@"
Print
Print " Forget any & all changes you made, and exit."
WaitEnter
GoTo 3182
End If
End If
End If
End If
End If
End If
End If
End If
End If
3182
End Sub
'! Called 2 times
Function Func3185 As Integer
Dim s65516 As String
Dim s65520 As String*1
Dim s65521 As String
Dim s65525 As String
Dim s65529 As String
Dim s65533 As String*1
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
3194 If o4475 = -1 Then
s65525 = "YES"
End If
3219 If o4475 = 0 Then
s65525 = "NO"
End If
3242 If o4476 = -1 Then
s65521 = "YES"
End If
3267 If o4476 = 0 Then
s65521 = "NO"
End If
3290 If b4509 = 0 Then
s65529 = "COMMENT"
End If
3313 If b4509 = 1 Then
s65529 = "EXE, COM, or BAT"
End If
3337 If b4509 = 2 Then
s65529 = "WCX"
End If
3361 Cls
Print "@0F@ @0C@opPAGE Configuration Utility v1.02 @0E@Current Settings"
Print "@0E@ @08@─────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0B@1@0F@] @0B@Registration Number @08@║ @0C@1@0F@] @0E@"; l4469
Print "@0F@ @0B@2@0F@] @0B@Conference Number @08@║ @0C@2@0F@] @0E@"; i4473
Print "@0F@ @0B@3@0F@] @0B@Notify Users whether or not Page is On? @08@║ @0C@3@0F@] @0E@"; s65525
Print "@0F@ @0B@4@0F@] @0B@Send LOCKOUT.SEC to another program? @08@║ @0C@4@0F@] @0E@"; s65521
Print "@0F@ @08@────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0B@5@0F@] @0B@Type of program to run (affects only users @08@║ @0C@5@0F@] @0E@"; s65529
Print "@0F@ @0B@whose security levels match LOCKOUT.SEC). @08@║"
Print "@08@ ────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0B@6@0F@] @0B@FULL Path and Name of program to run (only for EXE, COM, BAT, or WCX)"
Print "@0B@ @0C@-@0F@>@0E@"; UCase(s4510)
Print "@0F@ @08@─────────────────────────────────────────────────────────────────────────────"
Print "@08@ @0B@[@0E@H @0B@= @0F@HELP@0B@, @0E@A@0B@ = @0F@ABORT & EXIT@0B@, @4F@S@0B@ = @0F@SAVE & EXIT@0B@, @0E@N @0B@= @0F@NEXT PAGE@0B@] @0C@SELECT:@0F@ ";
Input s65533
s65520 = s65533
If (s65520 = "1") = 0 Then GoTo 3609
Print
l4469 = InputNumber("@0B@Enter Registration Number, or 0 (zero) for unregistered : @0F@", - 2147483647, 2147483647)
Loop
GoTo 4963
3609 If (s65520 = "2") = 0 Then GoTo 3663
Print
i4473 = InputNumber("@0B@Enter the conference # to post messages : @0F@", - 32767, 32767)
Loop
GoTo 4963
3663 If (s65520 = "3") = 0 Then GoTo 3710
Print
o4475 = InputYesNo("@0B@Would you like users to know if the PAGE is ON or OFF? (@0F@Y@0B@/@0F@N@0B@) : @0F@", 0)
Loop
GoTo 4963
3710 If (s65520 = "4") = 0 Then GoTo 3759
Print
o4476 = InputYesNo("@0B@Sending levels listed in LOCKOUT.SEC to another program? (@0F@Y@0B@/@0F@N@0B@) : @0F@", -1)
Loop
GoTo 4963
3759 If (s65520 = "5") = 0 Then GoTo 3847
If o4476 Then
Print
b4509 = InputNumber("@0B@Please enter a @0F@0@0B@ (Comment), @0F@1@0B@ (EXE/COM/BAT), or @0F@2@0B@ (WCX): @0F@", 0, 2)
Else
3813 Beep
Print
Print " @0F@You answered @0C@NO@0F@ on Line 4, this option is not used!"
Delay 2
End If
3835 Loop
GoTo 4963
3847 If (s65520 = "6") = 0 Then GoTo 4056
If (Not o4476) = 0 Then GoTo 3913
Beep
Print
Print " @0F@You answered @0C@NO@0F@ on Line 4, this option is not used!"
Delay 2
Loop
GoTo 4050
3913 If (b4509 = 0) = 0 Then GoTo 3961
Beep
Print
Print " @0C@ERROR!@0F@ That answer conflicts with your choice for #5."
Delay 2
Loop
GoTo 4050
3961 s65516 = UCase(s65516)
Print
Print " @0B@Enter the FULL path and name of the program to run: "
Print ">";
Input s65516
If Not Exists(s65516) Then
Beep
Print
Print " @0C@ERROR!@0F@ That file (and/or path) does not exist! Try again."
WaitEnter
Else
4036 s4510 = s65516
End If
4044 Loop
4050 GoTo 4963
4056 If s65520 = "H" Then GoTo 4094
If (s65520 = "h") = 0 Then GoTo 4112
4094 Sub2452
Loop
GoTo 4963
4112 If s65520 = "S" Then GoTo 4150
If s65520 = "s" Then
4150 Open s4463 For Output As 1
Print #1, l4469
Print #1, i4473
Print #1, o4475
Print #1, o4476
Print #1, s4477
Print #1, s4481
Print #1, s4485
Print #1, s4489
Print #1, s4493
Print #1, s4497
Print #1, s4501
Print #1, s4505
Print #1, b4509
Print #1, s4510
Close 1
Print
Print " @0F@Configuration saved as: @0B@"; UCase(s4463); "@0F@"
Delay 1
Print
If i4467 = 0 Then
ActivityLog "*UNREGISTERED* opPAGE Configuration Utility! Please register today!"
Print
Print " @8C@* UNREGISTERED *@0F@ ■ @0C@REGISTRATION REFLECTION DELAY @0F@■ @0F@[@04@░░░░░░░░░░@0F@]";
Locate 19, 55
Print "@0C@█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█@0F@";
Delay 2
Print
Print
Else
4562 Print " @0F@■ @0B@REGISTERED @0F@■ @0B@Thank You!@0F@"
End If
4571 Print
Print " opPAGE Configuration Closing - Thank you for using it!"
Print " COPYRIGHT (C) 1996 Corinne King "
Delay 1.5
End
GoTo 4963
End If
4606 If s65520 = "A" Then GoTo 4644
If s65520 = "a" Then
4644 If i4467 = 0 Then
ActivityLog "*UNREGISTERED* opPAGE Configuration Utility! Please register today!"
Print
Print " @8C@* UNREGISTERED *@0F@ ■ @0C@REGISTRATION REFLECTION DELAY @0F@■ @0F@[@04@░░░░░░░░░░@0F@]";
Locate 16, 55
Print "@0C@█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█";
Delay 1
Print "█@0F@";
Delay 2
Print
Print
Else
4864 Print " @0F@■ @0B@REGISTERED @0F@■ @0B@Thank You!@0F@"
End If
4873 Print " opPAGE Configuration Closing - Thank you for using it!"
Print " COPYRIGHT (C) 1996 Corinne King "
Delay 1.5
End
GoTo 4963
End If
4906 If s65520 = "N" Then GoTo 4944
If s65520 = "n" Then
4944 Func939
GoTo 4963
End If
4957 Loop
4963
End Function